package appapi.Request.record;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/09/20 17:41
 */
@Data
@ApiModel(description = "人脸识别记录导出请求对象")
public class FaceRecordReq implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 所属项目
     */
    @ApiModelProperty(value = "所属项目")
    private String orgaPathIds;
    @ApiModelProperty(value = "设备名称")
    private String equipName;
    @ApiModelProperty(value = "设备编号")
    private String equipNo;
    @ApiModelProperty(value = "操作员姓名")
    private String operName;

    /**
     * 开始日期
     */
    @ApiModelProperty(value = "开始日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    /**
     * 结束日期
     */
    @ApiModelProperty(value = "结束日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

}
